/*
 * This file is part of Annuaire.
 *
 * Annuaire is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Annuaire is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Annuaire.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.miage.annuaire;

/**
 * Cette exception générale survient lorsqu'il y a une erreur dans la logique de
 * l'annuaire.
 * @author guhumber
 */
public class AnnuaireRuntimeException extends RuntimeException {

	/**
	 * Constructeur par défaut.
	 * @param message Un message descriptif de l'exception.
	 */
	public AnnuaireRuntimeException(String message) {
		super(message);
	}
	
	/**
	 * Constructeur qui permet de définir la cause de l'exception.
	 * @param message Un message descriptif de l'exception.
	 * @param cause Une exception antérieure qui est à l'origine de celle-ci.
	 */
	public AnnuaireRuntimeException(String message, Throwable cause) {
		super(message, cause);
	}
	
	/**
	 * Identifiant de sérialisation.
	 */
	private static final long serialVersionUID = 1L;
}
